﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DTO_QLNS
{
    public class AuthorDTO : TransferObject
    {
        public AuthorDTO()
        { }

        public AuthorDTO(int id, string name)
        {
            _AuthorID = id;
            _AuthorName = name;
        }

        public AuthorDTO(AuthorDTO author)
        {
            _AuthorID = author.AuthorID;
            _AuthorName = author.AuthorName;
        }

        private int _AuthorID;
        public int AuthorID
        {
            get { return _AuthorID; }
            set { _AuthorID = value; }
        }

        private string _AuthorName;
        public string AuthorName
        {
            get { return _AuthorName; }
            set { _AuthorName = value; }
        }
    }
}
